package cn.iocoder.yudao.module.dlbz.controller.admin.companyscorerule.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 企业积分发放规则新增/修改 Request VO")
@Data
public class CompanyScoreRuleSaveReqVO {

    @Schema(description = "任务编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "17262")
    private Long id;

    @Schema(description = "企业ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "27371")
    @NotNull(message = "企业ID不能为空")
    private Long companyId;

    @Schema(description = "岗位ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "10037")
    @NotNull(message = "岗位ID不能为空")
    private Long postId;

    @Schema(description = "岗位名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
    @NotEmpty(message = "岗位名称不能为空")
    private String postName;

    @Schema(description = "规则名称", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "规则名称不能为空")
    private String pk;

    @Schema(description = "备注")
    private String intro;

    @Schema(description = "积分", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "积分不能为空")
    private Integer score;

}